package com.mercury.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.Import;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @author ：tx
 * @description：spring上下文配置文件
 * @date ：Created in 2019/1/24 19:53
 * @modified By：
 * @version: 1.0
 */
@Configuration
@ComponentScan(basePackages = {"com.mercury.service","com.mercury.dao"},excludeFilters = {@Filter(type = FilterType.ANNOTATION,value = EnableWebMvc.class)})
@Import({MercurySecurityConfig.class})
public class RootConfig {
}
